package com.relytosoft.mizar.media.display.api.entity;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.relytosoft.dubhe.common.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import java.io.IOException;
import java.util.List;

/**
 * 巡航轨迹实体类
 *
 * @author hj
 * @version 1.0
 * @date 2022/4/7 9:52
 * @ClassName CruiseTrack
 */

@TableName("VID_CRUISE_TRACK")
@ApiModel("巡航轨迹")
public class CruiseTrack extends BaseEntity {

    private static final long serialVersionUID = 4353212459020768281L;

    /**
     * 主键ID
     */
    @TableId(value="ID", type= IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    @NotBlank(message = "主键ID不能为空")
    private Integer id;

    /**
     * 监控点/通道
     */
    @ApiModelProperty(value = "监控点/通道")
    @TableField("CHANNEL_ID")
    @NotBlank(message = "监控点/通道不能为空")
    private Integer channelId;

    /**
     * 巡航名称
     */
    @ApiModelProperty(value = "巡航名称")
    @TableField("CRUISE_NAME")
    @NotBlank(message = "巡航名称不能为空")
    private String cruiseName;

    /**
     * 巡航索引
     */
    @ApiModelProperty(value = "巡航索引")
    @TableField("CRUISE_INDEX")
    @NotBlank(message = "巡航索引不能为空")
    private Integer cruiseIndex;

    /**
     * 巡航预置点信息;json,预置点列表[{预置点索引，停留时间，云台速度},{}]
     */
    @ApiModelProperty(value = "巡航预置点信息;json,预置点列表[{预置点索引presetPointIndex，停留时间standingTime，云台速度speed},{}]")
    @TableField("CRUISE_PRESET")
    private String cruisePreset;


    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    @TableField("STATUS")
    @NotBlank(message = "状态不能为空")
    private Integer status;

    public CruiseTrack() {
    }



    /**
     * 获得主键ID
     */
    public Integer getId(){
        return this.id;
    }
    /**
     * 设置主键ID
     */
    public void setId(Integer id){
        this.id = id;
    }

    /**
     * 获得监控点/通道
     */
    public Integer getChannelId(){
        return this.channelId;
    }
    /**
     * 设置监控点/通道
     */
    public void setChannelId(Integer channelId){
        this.channelId = channelId;
    }

    /**
     * 获得巡航名称
     */
    public String getCruiseName(){
        return this.cruiseName;
    }
    /**
     * 设置巡航名称
     */
    public void setCruiseName(String cruiseName){
        this.cruiseName = cruiseName;
    }

    /**
     * 获得巡航索引
     */
    public Integer getCruiseIndex(){
        return this.cruiseIndex;
    }
    /**
     * 设置巡航索引
     */
    public void setCruiseIndex(Integer cruiseIndex){
        this.cruiseIndex = cruiseIndex;
    }


    public String getCruisePreset() {
        return cruisePreset;
    }

    public void setCruisePreset(String cruisePreset) {
        this.cruisePreset = cruisePreset;
    }

    /**
     * 获得状态
     */
    public Integer getStatus(){
        return this.status;
    }
    /**
     * 设置状态
     */
    public void setStatus(Integer status){
        this.status = status;
    }


}
